package com.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.user.dao.QueryPageCoupon;
import com.user.dao.coupon.CreateCoupon;
import com.user.dao.coupon.ReceiveCoupon;
import com.user.domain.Coupon;
import com.user.utils.R;

/**
 * @author YU
 * @description 针对表【coupon】的数据库操作Service
 * @createDate 2024-05-19 10:48:07
 */
public interface CouponService extends IService<Coupon> {

    R getCoupon(QueryPageCoupon queryPageUser);

    R createCoupon(CreateCoupon createCoupon);

    R getUser(Integer id);

    R receiveCoupon(ReceiveCoupon receiveCoupon);

    R getUserNoCoupon(QueryPageCoupon queryPageCoupon);

    R getMyCoupon(Integer userId);
}
